package com.mdd.common.entity.message;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("留言")
public class Message implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value="id", type= IdType.AUTO)
    @ApiModelProperty(value = "")
    private Integer id;

    private Integer replyId;

    private String replyName;

    private Integer parentId;

    private String content;

    @TableField("`like`")
    private Integer like;

    private Integer disLike;

    private Long createTime;

    private Integer createId;

    private String createName;

}
